import os

from htmltestreport import HTMLTestReport
import unittest

from config import BASE_DIR

suite = unittest.defaultTestLoader.discover('./scripts')
report_path = BASE_DIR + os.sep + 'report' + os.sep + 'p2p.html'
HTMLTestReport(report_path, title='p2p接口自动化测试报告').run(suite)
